package com.grad.why.studentsystem.mapper;

import com.grad.why.studentsystem.domain.Indexinfos;
import com.grad.why.studentsystem.domain.IndexinfosExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IndexinfosMapper {
    int countByExample(IndexinfosExample example);

    int deleteByExample(IndexinfosExample example);

    int deleteByPrimaryKey(Integer indexid);

    int insert(Indexinfos record);

    int insertSelective(Indexinfos record);

    List<Indexinfos> selectByExample(IndexinfosExample example);

    Indexinfos selectByPrimaryKey(Integer indexid);

    int updateByExampleSelective(@Param("record") Indexinfos record, @Param("example") IndexinfosExample example);

    int updateByExample(@Param("record") Indexinfos record, @Param("example") IndexinfosExample example);

    int updateByPrimaryKeySelective(Indexinfos record);

    int updateByPrimaryKey(Indexinfos record);

    int getFirstIndexCountByProjectId(@Param("projectid") int projectid);

    int getSecondIndexCountByProjectId(@Param("projectid") int projectid);
}